package com.zhangjianling.premp.server.sys;

import com.zhangjianling.premp.entity.sys.SysLog;
import org.springframework.data.domain.Page;

import java.net.SocketException;


public interface SysLogService {
	/**
	 * 日志保存
	 * @param sysLog
	 * @return
	 */
	SysLog save(SysLog sysLog);

	Page<SysLog> pageList(int pageNumber, int pageSize, String string,
                          SysLog user) throws SocketException;

	SysLog findLog(String id);
}
